<template lang="">
  <!-- 公告详情 -->
  <div>
    <!-- <div>
      <span @click="skipAnnouncementView" style="color: #66A4D7;">竞价大厅</span>
      <span style="margin-left: 10px;margin-right:10px;">>></span>
      <span>{{announcement.title}}</span>
    </div> -->
    <div class="announcement_details">
      <el-row :gutter="20">
        <el-col :span="18">
          <div class="announcement">
            <img class="announcement_img" src="https://img.axureshop.com/5f/7a/2f/5f7a2fd7263e4e95897c8cd096b23108/images/%E5%85%AC%E5%91%8A%E8%AF%A6%E6%83%85/u1344.svg">
            <span>公告</span>
          </div>
        </el-col>
      </el-row>
      <div style="height: 1000px;width: 100%;">
        <div class="announcement_one">
          <p style="margin-top: 60px;text-align: center;">{{announcement.title}}（竞品名称：{{announcement.goodsName}}）</p>
          <p style="text-align: right;margin-right:50px;">发布时间:{{announcement.createTime}}</p>
          <pre style="white-space:pre-wrap">
            {{announcement.content}}
          </pre>
        </div>
      </div>
    </div>
    <el-row>
      <el-col :span="8"><div>
          <div style="width: 40%;height: 200px;margin-left: 10%;float: left;">
            <img style="float: left;margin-top: 37px;" src="https://img.axureshop.com/5f/7a/2f/5f7a2fd7263e4e95897c8cd096b23108/images/%E9%A6%96%E9%A1%B5/u561.svg">
            <div style="float: left;margin-left: 10px;font-size: 18px;margin-top: 50px;">微信服务号</div>
            <span style="float: left;margin-left: 10px;margin-top:30px;font-size: 14px;">一手消息随时掌握</span>
          </div>
        </div></el-col>
      <el-col :span="8"><div>
        <div style="width: 40%;height: 200px;float: left;margin-left: 10%;">
          <img style="float: left;margin-top: 37px;" src="https://img.axureshop.com/5f/7a/2f/5f7a2fd7263e4e95897c8cd096b23108/images/%E9%A6%96%E9%A1%B5/u564.svg">
          <div style="float: left;margin-left: 10px;font-size: 18px;margin-top: 50px;">微信小程序</div>
          <span style="margin-left: -87px;margin-top: 100px;float: left;font-size: 14px;">随时随地交易</span>
        </div>
      </div></el-col>
      <el-col :span="8"><div>
        <p style="margin-top: 47px;">
          <span style="margin-right: 50px;font-size: 14px;">沪ICP备XXXXXXXX号</span>
          <span style="margin-right: 50px;font-size: 14px;">增值电信业务经营许可证沪B</span>
          <span style="font-size: 14px;">全国免费服务热线：400-886-0000</span>
        </p>
        <p style="margin-top: 30px;">
          <span style="margin-right: 50px;font-size: 14px;">沪ICP备XXXXXXXX号</span>
          <span style="font-size: 14px;">增值电信业务经营许可证沪B</span>
        </p>
      </div></el-col>
    </el-row>
  </div>
</template>
<script>
export default {
  data () {
    return {
      announcement: {

      },
      src: 'https://img0.baidu.com/it/u=4188940758,4263217502&fm=253&fmt=auto&app=138&f=JPEG?w=600&h=419'
    }
  },
  mounted () {
    this.announcement = this.$route.query
  },
  methods: {
    skipAnnouncementView () {
      this.$router.push('/announcement')
    }
  }
}
</script>
<style lang="less" scoped>
  .img{
    width: 360px;
    height: 240px;
    margin-left: 20px;
    margin-top: 20px;
  }
  .announcement_one{
    margin-left: 30px;
    float: left;
    width: 96%;
    height: 954px;
  }
  .announcement_img{
    margin-right: 10px;
    transform: rotate(90deg);
  }
  .announcement{
    margin-left: 20px;
    margin-top: 30px;
  }
  .announcement_details{
    margin-top: 10px;
    width: 100%;
    height: 1000px;
    background-color: #fff;
  }
</style>
